<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>轩宸粉丝列表</title>
    <link rel="icon" href="{{URL::asset('images/headfavicon.ico')}}" type="image/x-icon" />
</head>
<body>
    <table>
        <thead>
            <tr>
                <td>用户ID</td>
                <td>昵称</td>
                <td>性别</td>
                <td>OPEDID</td>
                <td>关注时间</td>
                <td>图像</td>
            </tr>
        </thead>
        <tbody>
            @foreach($users as $v)
            <tr>
                <td>{{$v->id}}</td>
                <td>{{$v->nickname}}</td>
                <td>
                    @if($v->sex==0)
                        女
                    @elseif($v->sex==1)
                        男
                    @else
                        未知
                    @endif
                </td>
                <td>{{$v->openid}}</td>
                <td>{{date('Y-m-d H:i:s',$v->subscribe_time)}}</td>
                <td><a href="{{$v->headimgurl}}">图像</a></td>
            </tr>
            @endforeach
        </tbody>
    </table>
{{$IP}}
</body>
</html>